/**
	* @author 		Yuri Visser
	* @Created 		
	* @LastUpdated	
	* @Comments		
	* @Notes 		
	* 
**/

package com.theredspace.as3frameworks.puremvc.controller {
	
	import com.theredspace.as3frameworks.puremvc.view.AppMediator;
	import com.theredspace.as3frameworks.puremvc.view.UberControlsMediator;
	import com.theredspace.as3frameworks.puremvc.view.ZoopsLairMediator;
	import com.theredspace.as3frameworks.puremvc.view.components.UberControls;
	import com.theredspace.as3frameworks.puremvc.view.components.ZoopsLair;
	
	import org.puremvc.as3.interfaces.INotification;
	import org.puremvc.as3.patterns.command.SimpleCommand;

	public class ViewPrepCommand extends SimpleCommand {
		
		override public function execute(note:INotification):void {
			
			facade.registerMediator(new AppMediator(note.getBody() as AS3Frameworks_PureMVC));
			facade.registerMediator(new ZoopsLairMediator(AS3Frameworks_PureMVC(note.getBody()).zoopsPen));
			facade.registerMediator(new UberControlsMediator(AS3Frameworks_PureMVC(note.getBody()).uberControls));
		}
		
	/************************************************************************/   
	}  //END CLASS
 
/****************************************************************************/  
}  //END PACKAGE